<script setup>
import { reactive, ref } from 'vue'
import Api from '@/api/api.js'
import { useRouter } from 'vue-router'
import NavMenu from './navMenu.vue'

const router = useRouter()


</script>
<template>
    <div class="module">
        <el-container>
            <!-- 左侧导航 -->
            <NavMenu />
            <!-- 右侧 -->
            <el-container>
                <!-- 右侧 头部 -->
                <el-header>
                    header
                    <el-button type="primary" class="exit">注销</el-button>
                </el-header>
                <!-- 右侧 主体 -->
                <el-main>
                    <router-view />
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>
<style scoped></style>